package Spring.demo.controller;

import Spring.demo.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class User1Controller {

    @Autowired
    private User user;
    public void  getUser()
    {

        System.out.println("user:"+user);
    }
}
